package com.lintf.distributed.transaction.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("t_message")
@Data
public class Message {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String messageId;
    private String content;
    private String queueName;
    private Integer status; // 0:未发送,1:已发送,2:完成
    private Integer retryCount;
    private Date createdAt;
    private Date updatedAt;
    private String remark;
}